package com.resrun.vo.request;

import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

/**
 * 证书申请请求参数
 *
 * @author hupan
 * @since 2024-01-23
 */
@Data
public class CAAuditRequest {

    @NotNull(message = "证书申请ID不能为空")
    private Long requestId;

    @NotNull
    @Range(min = 0, max = 4, message = "证书状态不正确")
    private Byte state;

}
